

using Core.Features;

namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Data processing Extension class
    /// </summary>
    
    public sealed class DataProcessing: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.DataProcessing"/> class.
        /// </summary>
        public DataProcessing()
            : base(
                Traduction.extensions_data_processing, 
                ExtensionGroupsEnum.Electronics,
                1,
                0, 
                new ExtensionCost(5000,0),
                null )
        {
            
            
           
            Modifiers = new IModifier[]
                           {
                               new Modifier()
                                   {
                                       Feature = FeaturesEnum.CpuPerformance,
                                       ModifiedFeatureType = FeatureTypesEnum.Robot,
                                       Value = 0.03,
                                   }
                           };
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_data_processing_description; }
        }
        
    }
}